<?php
$this->breadcrumbs=array(
	'Bugs'=>array('index'),
	$model->title,
);

$this->menu=array(
	array('List Bug', array('index')),
	array('Create Bug', array('create'),'visible'=>Yii::app()->user->hasAuth(Group::TEACHER)),
	array('Update Bug', array('update', 'id'=>$model->id),'visible'=>Yii::app()->user->hasAuth(Group::TEACHER)),
	array('Manage Bug', array('admin'),'visible'=>Yii::app()->user->hasAuth(Group::MODERATOR)),
);
?>

<h1>View Bug #<?php echo $model->id; ?> - <?php echo $model->title; ?></h1>
Solved: <?php if($model->solved == 2){echo Yii::t('yii','Yes');}else{echo Yii::t('yii','No'); } ?>
<br/><br/>
<p><?php echo $model->description; ?></p>


